const { default: mongoose } = require('mongoose')
const Commend=require('./modles/commend')

var example=new Commend({
    commend:'666啊老铁',
    date:new Date().toLocaleString(),
    fromId:'624d3037d06e244ee70d16b8'
})

example.save().then(()=>{
    console.log('数据插入成功')
    mongoose.disconnect()
})